-- GENERATED SPELL FOR [Bloodfeast] --


function spell0_27008(pUnit, Event) --@Incite Maggots,Self--
pUnit:FullCastSpellOnTarget(52126,pUnit)
pUnit:RegisterEvent('Sorts_27008', 7000, 1)
end

function Sorts_27008(pUnit, Event)
local choix_sorts_27008 = math.random(0, 0)
if choix_sorts_27008 == 0 then
pUnit:RegisterEvent('spell0_27008', 1, 1)
end
end

function mob27008_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27008', math.random(1500, 3000), 1)
end

function mob27008_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27008_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27008_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27008, 1, 'mob27008_Action')
RegisterUnitEvent(27008, 2, 'mob27008_Leave')
RegisterUnitEvent(27008, 3, 'mob27008_Kill')
RegisterUnitEvent(27008, 4, 'mob27008_Die')
